home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / websrvcs / nsIWSDLSOAPBinding.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  14KB  |  482 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIWSDLSOAPBinding.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIWSDLSOAPBinding_h__
  6. #define __gen_nsIWSDLSOAPBinding_h__
  7.  
  8.  
  9. #ifndef __gen_nsISupports_h__
  10. #include "nsISupports.h"
  11. #endif
  12.  
  13. #ifndef __gen_nsIWSDL_h__
  14. #include "nsIWSDL.h"
  15. #endif
  16.  
  17. /* For IDL files that don't want to include root IDL files. */
  18. #ifndef NS_NO_VTABLE
  19. #define NS_NO_VTABLE
  20. #endif
  21.  
  22. /* starting interface:    nsIWSDLSOAPBinding */
  23. #define NS_IWSDLSOAPBINDING_IID_STR "bb76b72e-d143-4738-804a-53b311466dd9"
  24.  
  25. #define NS_IWSDLSOAPBINDING_IID \
  26.   {0xbb76b72e, 0xd143, 0x4738, \
  27.     { 0x80, 0x4a, 0x53, 0xb3, 0x11, 0x46, 0x6d, 0xd9 }}
  28.  
  29. class NS_NO_VTABLE nsIWSDLSOAPBinding : public nsIWSDLBinding {
  30.  public: 
  31.  
  32.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IWSDLSOAPBINDING_IID)
  33.  
  34.   enum { STYLE_RPC = 1U };
  35.  
  36.   enum { STYLE_DOCUMENT = 2U };
  37.  
  38. };
  39.  
  40. /* Use this macro when declaring classes that implement this interface. */
  41. #define NS_DECL_NSIWSDLSOAPBINDING \
  42.  
  43. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  44. #define NS_FORWARD_NSIWSDLSOAPBINDING(_to) \
  45.  
  46. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  47. #define NS_FORWARD_SAFE_NSIWSDLSOAPBINDING(_to) \
  48.  
  49. #if 0
  50. /* Use the code below as a template for the implementation class for this interface. */
  51.  
  52. /* Header file */
  53. class nsWSDLSOAPBinding : public nsIWSDLSOAPBinding
  54. {
  55. public:
  56.   NS_DECL_ISUPPORTS
  57.   NS_DECL_NSIWSDLSOAPBINDING
  58.  
  59.   nsWSDLSOAPBinding();
  60.  
  61. private:
  62.   ~nsWSDLSOAPBinding();
  63.  
  64. protected:
  65.   /* additional members */
  66. };
  67.  
  68. /* Implementation file */
  69. NS_IMPL_ISUPPORTS1(nsWSDLSOAPBinding, nsIWSDLSOAPBinding)
  70.  
  71. nsWSDLSOAPBinding::nsWSDLSOAPBinding()
  72. {
  73.   /* member initializers and constructor code */
  74. }
  75.  
  76. nsWSDLSOAPBinding::~nsWSDLSOAPBinding()
  77. {
  78.   /* destructor code */
  79. }
  80.  
  81. /* End of implementation class template. */
  82. #endif
  83.  
  84.  
  85. /* starting interface:    nsISOAPPortBinding */
  86. #define NS_ISOAPPORTBINDING_IID_STR "0458dac7-65de-11d5-9b42-00104bdf5339"
  87.  
  88. #define NS_ISOAPPORTBINDING_IID \
  89.   {0x0458dac7, 0x65de, 0x11d5, \
  90.     { 0x9b, 0x42, 0x00, 0x10, 0x4b, 0xdf, 0x53, 0x39 }}
  91.  
  92. class NS_NO_VTABLE nsISOAPPortBinding : public nsIWSDLSOAPBinding {
  93.  public: 
  94.  
  95.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISOAPPORTBINDING_IID)
  96.  
  97.   enum { SOAP_VERSION_1_1 = 0U };
  98.  
  99.   enum { SOAP_VERSION_1_2 = 1U };
  100.  
  101.   enum { SOAP_VERSION_UNKNOWN = 32767U };
  102.  
  103.   /* readonly attribute AString name; */
  104.   NS_IMETHOD GetName(nsAString & aName) = 0;
  105.  
  106.   /* readonly attribute AString address; */
  107.   NS_IMETHOD GetAddress(nsAString & aAddress) = 0;
  108.  
  109.   /* readonly attribute unsigned short style; */
  110.   NS_IMETHOD GetStyle(PRUint16 *aStyle) = 0;
  111.  
  112.   /* readonly attribute AString transport; */
  113.   NS_IMETHOD GetTransport(nsAString & aTransport) = 0;
  114.  
  115.   /* readonly attribute unsigned short soapVersion; */
  116.   NS_IMETHOD GetSoapVersion(PRUint16 *aSoapVersion) = 0;
  117.  
  118. };
  119.  
  120. /* Use this macro when declaring classes that implement this interface. */
  121. #define NS_DECL_NSISOAPPORTBINDING \
  122.   NS_IMETHOD GetName(nsAString & aName); \
  123.   NS_IMETHOD GetAddress(nsAString & aAddress); \
  124.   NS_IMETHOD GetStyle(PRUint16 *aStyle); \
  125.   NS_IMETHOD GetTransport(nsAString & aTransport); \
  126.   NS_IMETHOD GetSoapVersion(PRUint16 *aSoapVersion); 
  127.  
  128. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  129. #define NS_FORWARD_NSISOAPPORTBINDING(_to) \
  130.   NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
  131.   NS_IMETHOD GetAddress(nsAString & aAddress) { return _to GetAddress(aAddress); } \
  132.   NS_IMETHOD GetStyle(PRUint16 *aStyle) { return _to GetStyle(aStyle); } \
  133.   NS_IMETHOD GetTransport(nsAString & aTransport) { return _to GetTransport(aTransport); } \
  134.   NS_IMETHOD GetSoapVersion(PRUint16 *aSoapVersion) { return _to GetSoapVersion(aSoapVersion); } 
  135.  
  136. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  137. #define NS_FORWARD_SAFE_NSISOAPPORTBINDING(_to) \
  138.   NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
  139.   NS_IMETHOD GetAddress(nsAString & aAddress) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAddress(aAddress); } \
  140.   NS_IMETHOD GetStyle(PRUint16 *aStyle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStyle(aStyle); } \
  141.   NS_IMETHOD GetTransport(nsAString & aTransport) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTransport(aTransport); } \
  142.   NS_IMETHOD GetSoapVersion(PRUint16 *aSoapVersion) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSoapVersion(aSoapVersion); } 
  143.  
  144. #if 0
  145. /* Use the code below as a template for the implementation class for this interface. */
  146.  
  147. /* Header file */
  148. class nsSOAPPortBinding : public nsISOAPPortBinding
  149. {
  150. public:
  151.   NS_DECL_ISUPPORTS
  152.   NS_DECL_NSISOAPPORTBINDING
  153.  
  154.   nsSOAPPortBinding();
  155.  
  156. private:
  157.   ~nsSOAPPortBinding();
  158.  
  159. protected:
  160.   /* additional members */
  161. };
  162.  
  163. /* Implementation file */
  164. NS_IMPL_ISUPPORTS1(nsSOAPPortBinding, nsISOAPPortBinding)
  165.  
  166. nsSOAPPortBinding::nsSOAPPortBinding()
  167. {
  168.   /* member initializers and constructor code */
  169. }
  170.  
  171. nsSOAPPortBinding::~nsSOAPPortBinding()
  172. {
  173.   /* destructor code */
  174. }
  175.  
  176. /* readonly attribute AString name; */
  177. NS_IMETHODIMP nsSOAPPortBinding::GetName(nsAString & aName)
  178. {
  179.     return NS_ERROR_NOT_IMPLEMENTED;
  180. }
  181.  
  182. /* readonly attribute AString address; */
  183. NS_IMETHODIMP nsSOAPPortBinding::GetAddress(nsAString & aAddress)
  184. {
  185.     return NS_ERROR_NOT_IMPLEMENTED;
  186. }
  187.  
  188. /* readonly attribute unsigned short style; */
  189. NS_IMETHODIMP nsSOAPPortBinding::GetStyle(PRUint16 *aStyle)
  190. {
  191.     return NS_ERROR_NOT_IMPLEMENTED;
  192. }
  193.  
  194. /* readonly attribute AString transport; */
  195. NS_IMETHODIMP nsSOAPPortBinding::GetTransport(nsAString & aTransport)
  196. {
  197.     return NS_ERROR_NOT_IMPLEMENTED;
  198. }
  199.  
  200. /* readonly attribute unsigned short soapVersion; */
  201. NS_IMETHODIMP nsSOAPPortBinding::GetSoapVersion(PRUint16 *aSoapVersion)
  202. {
  203.     return NS_ERROR_NOT_IMPLEMENTED;
  204. }
  205.  
  206. /* End of implementation class template. */
  207. #endif
  208.  
  209.  
  210. /* starting interface:    nsISOAPOperationBinding */
  211. #define NS_ISOAPOPERATIONBINDING_IID_STR "0458dac8-65de-11d5-9b42-00104bdf5339"
  212.  
  213. #define NS_ISOAPOPERATIONBINDING_IID \
  214.   {0x0458dac8, 0x65de, 0x11d5, \
  215.     { 0x9b, 0x42, 0x00, 0x10, 0x4b, 0xdf, 0x53, 0x39 }}
  216.  
  217. class NS_NO_VTABLE nsISOAPOperationBinding : public nsIWSDLSOAPBinding {
  218.  public: 
  219.  
  220.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISOAPOPERATIONBINDING_IID)
  221.  
  222.   /* readonly attribute unsigned short style; */
  223.   NS_IMETHOD GetStyle(PRUint16 *aStyle) = 0;
  224.  
  225.   /* readonly attribute AString soapAction; */
  226.   NS_IMETHOD GetSoapAction(nsAString & aSoapAction) = 0;
  227.  
  228. };
  229.  
  230. /* Use this macro when declaring classes that implement this interface. */
  231. #define NS_DECL_NSISOAPOPERATIONBINDING \
  232.   NS_IMETHOD GetStyle(PRUint16 *aStyle); \
  233.   NS_IMETHOD GetSoapAction(nsAString & aSoapAction); 
  234.  
  235. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  236. #define NS_FORWARD_NSISOAPOPERATIONBINDING(_to) \
  237.   NS_IMETHOD GetStyle(PRUint16 *aStyle) { return _to GetStyle(aStyle); } \
  238.   NS_IMETHOD GetSoapAction(nsAString & aSoapAction) { return _to GetSoapAction(aSoapAction); } 
  239.  
  240. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  241. #define NS_FORWARD_SAFE_NSISOAPOPERATIONBINDING(_to) \
  242.   NS_IMETHOD GetStyle(PRUint16 *aStyle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStyle(aStyle); } \
  243.   NS_IMETHOD GetSoapAction(nsAString & aSoapAction) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSoapAction(aSoapAction); } 
  244.  
  245. #if 0
  246. /* Use the code below as a template for the implementation class for this interface. */
  247.  
  248. /* Header file */
  249. class nsSOAPOperationBinding : public nsISOAPOperationBinding
  250. {
  251. public:
  252.   NS_DECL_ISUPPORTS
  253.   NS_DECL_NSISOAPOPERATIONBINDING
  254.  
  255.   nsSOAPOperationBinding();
  256.  
  257. private:
  258.   ~nsSOAPOperationBinding();
  259.  
  260. protected:
  261.   /* additional members */
  262. };
  263.  
  264. /* Implementation file */
  265. NS_IMPL_ISUPPORTS1(nsSOAPOperationBinding, nsISOAPOperationBinding)
  266.  
  267. nsSOAPOperationBinding::nsSOAPOperationBinding()
  268. {
  269.   /* member initializers and constructor code */
  270. }
  271.  
  272. nsSOAPOperationBinding::~nsSOAPOperationBinding()
  273. {
  274.   /* destructor code */
  275. }
  276.  
  277. /* readonly attribute unsigned short style; */
  278. NS_IMETHODIMP nsSOAPOperationBinding::GetStyle(PRUint16 *aStyle)
  279. {
  280.     return NS_ERROR_NOT_IMPLEMENTED;
  281. }
  282.  
  283. /* readonly attribute AString soapAction; */
  284. NS_IMETHODIMP nsSOAPOperationBinding::GetSoapAction(nsAString & aSoapAction)
  285. {
  286.     return NS_ERROR_NOT_IMPLEMENTED;
  287. }
  288.  
  289. /* End of implementation class template. */
  290. #endif
  291.  
  292.  
  293. /* starting interface:    nsISOAPMessageBinding */
  294. #define NS_ISOAPMESSAGEBINDING_IID_STR "c3c4614c-301a-44af-ad70-936f9fd1ba5c"
  295.  
  296. #define NS_ISOAPMESSAGEBINDING_IID \
  297.   {0xc3c4614c, 0x301a, 0x44af, \
  298.     { 0xad, 0x70, 0x93, 0x6f, 0x9f, 0xd1, 0xba, 0x5c }}
  299.  
  300. class NS_NO_VTABLE nsISOAPMessageBinding : public nsIWSDLSOAPBinding {
  301.  public: 
  302.  
  303.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISOAPMESSAGEBINDING_IID)
  304.  
  305.   /* readonly attribute AString namespace; */
  306.   NS_IMETHOD GetNamespace(nsAString & aNamespace) = 0;
  307.  
  308. };
  309.  
  310. /* Use this macro when declaring classes that implement this interface. */
  311. #define NS_DECL_NSISOAPMESSAGEBINDING \
  312.   NS_IMETHOD GetNamespace(nsAString & aNamespace); 
  313.  
  314. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  315. #define NS_FORWARD_NSISOAPMESSAGEBINDING(_to) \
  316.   NS_IMETHOD GetNamespace(nsAString & aNamespace) { return _to GetNamespace(aNamespace); } 
  317.  
  318. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  319. #define NS_FORWARD_SAFE_NSISOAPMESSAGEBINDING(_to) \
  320.   NS_IMETHOD GetNamespace(nsAString & aNamespace) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNamespace(aNamespace); } 
  321.  
  322. #if 0
  323. /* Use the code below as a template for the implementation class for this interface. */
  324.  
  325. /* Header file */
  326. class nsSOAPMessageBinding : public nsISOAPMessageBinding
  327. {
  328. public:
  329.   NS_DECL_ISUPPORTS
  330.   NS_DECL_NSISOAPMESSAGEBINDING
  331.  
  332.   nsSOAPMessageBinding();
  333.  
  334. private:
  335.   ~nsSOAPMessageBinding();
  336.  
  337. protected:
  338.   /* additional members */
  339. };
  340.  
  341. /* Implementation file */
  342. NS_IMPL_ISUPPORTS1(nsSOAPMessageBinding, nsISOAPMessageBinding)
  343.  
  344. nsSOAPMessageBinding::nsSOAPMessageBinding()
  345. {
  346.   /* member initializers and constructor code */
  347. }
  348.  
  349. nsSOAPMessageBinding::~nsSOAPMessageBinding()
  350. {
  351.   /* destructor code */
  352. }
  353.  
  354. /* readonly attribute AString namespace; */
  355. NS_IMETHODIMP nsSOAPMessageBinding::GetNamespace(nsAString & aNamespace)
  356. {
  357.     return NS_ERROR_NOT_IMPLEMENTED;
  358. }
  359.  
  360. /* End of implementation class template. */
  361. #endif
  362.  
  363.  
  364. /* starting interface:    nsISOAPPartBinding */
  365. #define NS_ISOAPPARTBINDING_IID_STR "0458dac9-65de-11d5-9b42-00104bdf5339"
  366.  
  367. #define NS_ISOAPPARTBINDING_IID \
  368.   {0x0458dac9, 0x65de, 0x11d5, \
  369.     { 0x9b, 0x42, 0x00, 0x10, 0x4b, 0xdf, 0x53, 0x39 }}
  370.  
  371. class NS_NO_VTABLE nsISOAPPartBinding : public nsIWSDLSOAPBinding {
  372.  public: 
  373.  
  374.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_ISOAPPARTBINDING_IID)
  375.  
  376.   enum { LOCATION_BODY = 1U };
  377.  
  378.   enum { LOCATION_HEADER = 2U };
  379.  
  380.   enum { LOCATION_FAULT = 3U };
  381.  
  382.   enum { USE_LITERAL = 1U };
  383.  
  384.   enum { USE_ENCODED = 2U };
  385.  
  386.   /* readonly attribute unsigned short location; */
  387.   NS_IMETHOD GetLocation(PRUint16 *aLocation) = 0;
  388.  
  389.   /* readonly attribute unsigned short use; */
  390.   NS_IMETHOD GetUse(PRUint16 *aUse) = 0;
  391.  
  392.   /* readonly attribute AString encodingStyle; */
  393.   NS_IMETHOD GetEncodingStyle(nsAString & aEncodingStyle) = 0;
  394.  
  395.   /* readonly attribute AString namespace; */
  396.   NS_IMETHOD GetNamespace(nsAString & aNamespace) = 0;
  397.  
  398. };
  399.  
  400. /* Use this macro when declaring classes that implement this interface. */
  401. #define NS_DECL_NSISOAPPARTBINDING \
  402.   NS_IMETHOD GetLocation(PRUint16 *aLocation); \
  403.   NS_IMETHOD GetUse(PRUint16 *aUse); \
  404.   NS_IMETHOD GetEncodingStyle(nsAString & aEncodingStyle); \
  405.   NS_IMETHOD GetNamespace(nsAString & aNamespace); 
  406.  
  407. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  408. #define NS_FORWARD_NSISOAPPARTBINDING(_to) \
  409.   NS_IMETHOD GetLocation(PRUint16 *aLocation) { return _to GetLocation(aLocation); } \
  410.   NS_IMETHOD GetUse(PRUint16 *aUse) { return _to GetUse(aUse); } \
  411.   NS_IMETHOD GetEncodingStyle(nsAString & aEncodingStyle) { return _to GetEncodingStyle(aEncodingStyle); } \
  412.   NS_IMETHOD GetNamespace(nsAString & aNamespace) { return _to GetNamespace(aNamespace); } 
  413.  
  414. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  415. #define NS_FORWARD_SAFE_NSISOAPPARTBINDING(_to) \
  416.   NS_IMETHOD GetLocation(PRUint16 *aLocation) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocation(aLocation); } \
  417.   NS_IMETHOD GetUse(PRUint16 *aUse) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUse(aUse); } \
  418.   NS_IMETHOD GetEncodingStyle(nsAString & aEncodingStyle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEncodingStyle(aEncodingStyle); } \
  419.   NS_IMETHOD GetNamespace(nsAString & aNamespace) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNamespace(aNamespace); } 
  420.  
  421. #if 0
  422. /* Use the code below as a template for the implementation class for this interface. */
  423.  
  424. /* Header file */
  425. class nsSOAPPartBinding : public nsISOAPPartBinding
  426. {
  427. public:
  428.   NS_DECL_ISUPPORTS
  429.   NS_DECL_NSISOAPPARTBINDING
  430.  
  431.   nsSOAPPartBinding();
  432.  
  433. private:
  434.   ~nsSOAPPartBinding();
  435.  
  436. protected:
  437.   /* additional members */
  438. };
  439.  
  440. /* Implementation file */
  441. NS_IMPL_ISUPPORTS1(nsSOAPPartBinding, nsISOAPPartBinding)
  442.  
  443. nsSOAPPartBinding::nsSOAPPartBinding()
  444. {
  445.   /* member initializers and constructor code */
  446. }
  447.  
  448. nsSOAPPartBinding::~nsSOAPPartBinding()
  449. {
  450.   /* destructor code */
  451. }
  452.  
  453. /* readonly attribute unsigned short location; */
  454. NS_IMETHODIMP nsSOAPPartBinding::GetLocation(PRUint16 *aLocation)
  455. {
  456.     return NS_ERROR_NOT_IMPLEMENTED;
  457. }
  458.  
  459. /* readonly attribute unsigned short use; */
  460. NS_IMETHODIMP nsSOAPPartBinding::GetUse(PRUint16 *aUse)
  461. {
  462.     return NS_ERROR_NOT_IMPLEMENTED;
  463. }
  464.  
  465. /* readonly attribute AString encodingStyle; */
  466. NS_IMETHODIMP nsSOAPPartBinding::GetEncodingStyle(nsAString & aEncodingStyle)
  467. {
  468.     return NS_ERROR_NOT_IMPLEMENTED;
  469. }
  470.  
  471. /* readonly attribute AString namespace; */
  472. NS_IMETHODIMP nsSOAPPartBinding::GetNamespace(nsAString & aNamespace)
  473. {
  474.     return NS_ERROR_NOT_IMPLEMENTED;
  475. }
  476.  
  477. /* End of implementation class template. */
  478. #endif
  479.  
  480.  
  481. #endif /* __gen_nsIWSDLSOAPBinding_h__ */
  482.